package expression;

import org.apache.commons.lang3.StringUtils;

/**
 * Created by luyajie on 2017/1/3.
 *
 * 是否为数字
 */
@ExpressionAn(common = "是否为数字")
public class IsNumExpression implements Expression {
    public Object exec(Object... objs) {
        return StringUtils.isNumeric(objs[1].toString());
    }
}
